package sdk.webview.fmc.com.fmcsdk.check.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import sdk.webview.fmc.com.fmcsdk.base.BaseData;
import sdk.webview.fmc.com.fmcsdk.imagepicker.utils.Utils;
import sdk.webview.fmc.com.fmcsdk.util.StringUtils;

public class GetDetailsBean extends BaseData  {


    private RecordDTO record;

    public RecordDTO getRecord() {
        return record;
    }

    public void setRecord(RecordDTO record) {
        this.record = record;
    }

    public static class RecordDTO {
        private String reportStaffTeamDesc;
        private int year;
        private int qtyUnChecked;
        private int isActive;
        private String baseBizTypeId;
        private double stdManHours;
        private String reportWorkerId;
        private String woNo;
        private long expExpirDate;
        private String reportStaffTeamId;
        private ExceptionReportDTO exceptionReport;
        private String reportServiceTypeId;
        private String workTypeDesc;
        private Object actHrs;
        private String planId;
        private String id;
        private int day;
        private String staffTeamId;
        private String baseBizTypeDesc;
        private int fixedRoute;
        private int qtyTotal;
        private int isStart;
        private Object supervisorId;
        private String principalDesc;
        private String compRemark;
        private int month;
        private String actStartDate;
        private Object pushDate;
        private String status;
        private String projId;
        private int qtyChecked;
        private String description;
        private String principalId;
        private String remark;
        private String checkRange;
        private int qtyReported;
        private List<PointsDTO> Points;
        private String sysServiceTypeDesc;
        private String statusDesc;
        private int allowAllNormal;
        private Object manHrs;
        private String planTimeStaffId;
        private String sysServiceTypeId;
        private int qtyMissChecked;
        private Object actFinishDate;
        private int qtyAbnormal;
        private double checkPercent;
        private String workType;
        private long expStartDate;
        private Object reportServiceTypeDesc;
        private int pushed;
        private String reportWorkerDesc;

        public String getReportStaffTeamDesc() {
            return StringUtils.isEmpty(reportStaffTeamDesc) ? "" : reportStaffTeamDesc;
        }

        public void setReportStaffTeamDesc(String reportStaffTeamDesc) {
            this.reportStaffTeamDesc = reportStaffTeamDesc;
        }

        public int getYear() {
            return year;
        }

        public void setYear(int year) {
            this.year = year;
        }

        public int getQtyUnChecked() {
            return qtyUnChecked;
        }

        public void setQtyUnChecked(int qtyUnChecked) {
            this.qtyUnChecked = qtyUnChecked;
        }

        public int getIsActive() {
            return isActive;
        }

        public void setIsActive(int isActive) {
            this.isActive = isActive;
        }

        public String getBaseBizTypeId() {
            return StringUtils.isEmpty(baseBizTypeId) ? "" : baseBizTypeId;
        }

        public void setBaseBizTypeId(String baseBizTypeId) {
            this.baseBizTypeId = baseBizTypeId;
        }

        public double getStdManHours() {
            return stdManHours;
        }

        public void setStdManHours(double stdManHours) {
            this.stdManHours = stdManHours;
        }

        public String getReportWorkerId() {
            return StringUtils.isEmpty(reportWorkerId) ? "" : reportWorkerId;
        }

        public void setReportWorkerId(String reportWorkerId) {
            this.reportWorkerId = reportWorkerId;
        }

        public String getWoNo() {
            return StringUtils.isEmpty(woNo) ? "" : woNo;
        }

        public void setWoNo(String woNo) {
            this.woNo = woNo;
        }

        public long getExpExpirDate() {
            return expExpirDate;
        }

        public void setExpExpirDate(long expExpirDate) {
            this.expExpirDate = expExpirDate;
        }

        public String getReportStaffTeamId() {
            return StringUtils.isEmpty(reportStaffTeamId) ?"" : reportStaffTeamId;
        }

        public void setReportStaffTeamId(String reportStaffTeamId) {
            this.reportStaffTeamId = reportStaffTeamId;
        }

        public ExceptionReportDTO getExceptionReport() {
            return exceptionReport;
        }

        public void setExceptionReport(ExceptionReportDTO exceptionReport) {
            this.exceptionReport = exceptionReport;
        }

        public String getReportServiceTypeId() {
            return StringUtils.isEmpty(reportServiceTypeId) ? "" : reportServiceTypeId;
        }

        public void setReportServiceTypeId(String reportServiceTypeId) {
            this.reportServiceTypeId = reportServiceTypeId;
        }

        public String getWorkTypeDesc() {
            return StringUtils.isEmpty(workTypeDesc) ? "" : workTypeDesc;
        }

        public void setWorkTypeDesc(String workTypeDesc) {
            this.workTypeDesc = workTypeDesc;
        }

        public Object getActHrs() {
            return actHrs;
        }

        public void setActHrs(Object actHrs) {
            this.actHrs = actHrs;
        }

        public String getPlanId() {
            return StringUtils.isEmpty(planId) ? "" : planId;
        }

        public void setPlanId(String planId) {
            this.planId = planId;
        }

        public String getId() {
            return StringUtils.isEmpty(id) ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getDay() {
            return day;
        }

        public void setDay(int day) {
            this.day = day;
        }

        public String getStaffTeamId() {
            return StringUtils.isEmpty(staffTeamId) ? "" : staffTeamId;
        }

        public void setStaffTeamId(String staffTeamId) {
            this.staffTeamId = staffTeamId;
        }

        public String getBaseBizTypeDesc() {
            return StringUtils.isEmpty(baseBizTypeDesc) ? "" : baseBizTypeDesc;
        }

        public void setBaseBizTypeDesc(String baseBizTypeDesc) {
            this.baseBizTypeDesc = baseBizTypeDesc;
        }

        public int getFixedRoute() {
            return fixedRoute;
        }

        public void setFixedRoute(int fixedRoute) {
            this.fixedRoute = fixedRoute;
        }

        public int getQtyTotal() {
            return qtyTotal;
        }

        public void setQtyTotal(int qtyTotal) {
            this.qtyTotal = qtyTotal;
        }

        public int getIsStart() {
            return isStart;
        }

        public void setIsStart(int isStart) {
            this.isStart = isStart;
        }

        public Object getSupervisorId() {
            return supervisorId;
        }

        public void setSupervisorId(Object supervisorId) {
            this.supervisorId = supervisorId;
        }

        public String getPrincipalDesc() {
            return StringUtils.isEmpty(principalDesc) ? "--" : principalDesc;
        }

        public void setPrincipalDesc(String principalDesc) {
            this.principalDesc = principalDesc;
        }

        public String getCompRemark() {
            return StringUtils.isEmpty(compRemark) ? "" : compRemark;
        }

        public void setCompRemark(String compRemark) {
            this.compRemark = compRemark;
        }

        public int getMonth() {
            return month;
        }

        public void setMonth(int month) {
            this.month = month;
        }

        public String getActStartDate() {
            return StringUtils.isEmpty(actStartDate) ? "" : actStartDate;
        }

        public void setActStartDate(String actStartDate) {
            this.actStartDate = actStartDate;
        }

        public Object getPushDate() {
            return pushDate;
        }

        public void setPushDate(Object pushDate) {
            this.pushDate = pushDate;
        }

        public String getStatus() {
            return StringUtils.isEmpty(status) ? "" : status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getProjId() {
            return StringUtils.isEmpty(projId) ? "" : projId;
        }

        public void setProjId(String projId) {
            this.projId = projId;
        }

        public int getQtyChecked() {
            return qtyChecked;
        }

        public void setQtyChecked(int qtyChecked) {
            this.qtyChecked = qtyChecked;
        }

        public String getDescription() {
            return StringUtils.isEmpty(description) ? "" : description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getPrincipalId() {
            return StringUtils.isEmpty(principalId) ? "" : principalId;
        }

        public void setPrincipalId(String principalId) {
            this.principalId = principalId;
        }

        public String getRemark() {
            return StringUtils.isEmpty(remark) ? "" : remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getCheckRange() {
            return StringUtils.isEmpty(checkRange) ? "" : checkRange;
        }

        public void setCheckRange(String checkRange) {
            this.checkRange = checkRange;
        }

        public int getQtyReported() {
            return qtyReported;
        }

        public void setQtyReported(int qtyReported) {
            this.qtyReported = qtyReported;
        }

        public List<PointsDTO> getPoints() {
            return Points;
        }

        public void setPoints(List<PointsDTO> points) {
            Points = points;
        }

        public String getSysServiceTypeDesc() {
            return StringUtils.isEmpty(sysServiceTypeDesc) ? "" : sysServiceTypeDesc;
        }

        public void setSysServiceTypeDesc(String sysServiceTypeDesc) {
            this.sysServiceTypeDesc = sysServiceTypeDesc;
        }

        public String getStatusDesc() {
            return StringUtils.isEmpty(statusDesc) ? "" : statusDesc;
        }

        public void setStatusDesc(String statusDesc) {
            this.statusDesc = statusDesc;
        }

        public int getAllowAllNormal() {
            return allowAllNormal;
        }

        public void setAllowAllNormal(int allowAllNormal) {
            this.allowAllNormal = allowAllNormal;
        }

        public Object getManHrs() {
            return manHrs;
        }

        public void setManHrs(Object manHrs) {
            this.manHrs = manHrs;
        }

        public String getPlanTimeStaffId() {
            return StringUtils.isEmpty(planTimeStaffId) ? "" : planTimeStaffId;
        }

        public void setPlanTimeStaffId(String planTimeStaffId) {
            this.planTimeStaffId = planTimeStaffId;
        }

        public String getSysServiceTypeId() {
            return StringUtils.isEmpty(sysServiceTypeId) ? "" : sysServiceTypeId;
        }

        public void setSysServiceTypeId(String sysServiceTypeId) {
            this.sysServiceTypeId = sysServiceTypeId;
        }

        public int getQtyMissChecked() {
            return qtyMissChecked;
        }

        public void setQtyMissChecked(int qtyMissChecked) {
            this.qtyMissChecked = qtyMissChecked;
        }

        public Object getActFinishDate() {
            return actFinishDate;
        }

        public void setActFinishDate(Object actFinishDate) {
            this.actFinishDate = actFinishDate;
        }

        public int getQtyAbnormal() {
            return qtyAbnormal;
        }

        public void setQtyAbnormal(int qtyAbnormal) {
            this.qtyAbnormal = qtyAbnormal;
        }

        public double getCheckPercent() {
            return checkPercent;
        }

        public void setCheckPercent(double checkPercent) {
            this.checkPercent = checkPercent;
        }

        public String getWorkType() {
            return StringUtils.isEmpty(workType) ? "" : workType;
        }

        public void setWorkType(String workType) {
            this.workType = workType;
        }

        public long getExpStartDate() {
            return expStartDate;
        }

        public void setExpStartDate(long expStartDate) {
            this.expStartDate = expStartDate;
        }

        public Object getReportServiceTypeDesc() {
            return reportServiceTypeDesc;
        }

        public void setReportServiceTypeDesc(Object reportServiceTypeDesc) {
            this.reportServiceTypeDesc = reportServiceTypeDesc;
        }

        public int getPushed() {
            return pushed;
        }

        public void setPushed(int pushed) {
            this.pushed = pushed;
        }

        public String getReportWorkerDesc() {
            return StringUtils.isEmpty(reportWorkerDesc) ? "" : reportWorkerDesc;
        }

        public void setReportWorkerDesc(String reportWorkerDesc) {
            this.reportWorkerDesc = reportWorkerDesc;
        }

        public static class ExceptionReportDTO  {
            private String baseBizTypeId;
            private String baseBizTypeIdDesc;
            private String changeBy;
            private String changeByDesc;
            private long changeDate;
            private int createBy;
            private Object createDate;
            private String defaultLang;
            private String exceptionReport;
            private String exceptionReportDesc;
            private String id;
            private int isActive;
            private int priorityCode;
            private String remark;
            private String structureId;
            private String structureIdDesc;
            private String synConf;
            private String synConfDesc;
            private String workType;
            private String workTypeDesc;

            public String getBaseBizTypeId() {
                return StringUtils.isEmpty(baseBizTypeId) ? "" : baseBizTypeId;
            }

            public void setBaseBizTypeId(String baseBizTypeId) {
                this.baseBizTypeId = baseBizTypeId;
            }

            public String getBaseBizTypeIdDesc() {
                return StringUtils.isEmpty(baseBizTypeIdDesc) ? "" : baseBizTypeIdDesc;
            }

            public void setBaseBizTypeIdDesc(String baseBizTypeIdDesc) {
                this.baseBizTypeIdDesc = baseBizTypeIdDesc;
            }

            public String getChangeBy() {
                return StringUtils.isEmpty(changeBy) ? "" : changeBy;
            }

            public void setChangeBy(String changeBy) {
                this.changeBy = changeBy;
            }

            public String getChangeByDesc() {
                return StringUtils.isEmpty(changeByDesc) ? "" : changeByDesc;
            }

            public void setChangeByDesc(String changeByDesc) {
                this.changeByDesc = changeByDesc;
            }

            public long getChangeDate() {
                return changeDate;
            }

            public void setChangeDate(long changeDate) {
                this.changeDate = changeDate;
            }

            public int getCreateBy() {
                return createBy;
            }

            public void setCreateBy(int createBy) {
                this.createBy = createBy;
            }

            public Object getCreateDate() {
                return createDate;
            }

            public void setCreateDate(Object createDate) {
                this.createDate = createDate;
            }

            public String getDefaultLang() {
                return StringUtils.isEmpty(defaultLang) ? "" : defaultLang;
            }

            public void setDefaultLang(String defaultLang) {
                this.defaultLang = defaultLang;
            }

            public String getExceptionReport() {
                return StringUtils.isEmpty(exceptionReport) ? "" : exceptionReport;
            }

            public void setExceptionReport(String exceptionReport) {
                this.exceptionReport = exceptionReport;
            }

            public String getExceptionReportDesc() {
                return StringUtils.isEmpty(exceptionReportDesc) ? "" : exceptionReportDesc;
            }

            public void setExceptionReportDesc(String exceptionReportDesc) {
                this.exceptionReportDesc = exceptionReportDesc;
            }

            public String getId() {
                return StringUtils.isEmpty(id) ? "" : id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getIsActive() {
                return isActive;
            }

            public void setIsActive(int isActive) {
                this.isActive = isActive;
            }

            public int getPriorityCode() {
                return priorityCode;
            }

            public void setPriorityCode(int priorityCode) {
                this.priorityCode = priorityCode;
            }

            public String getRemark() {
                return StringUtils.isEmpty(remark) ? "" : remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getStructureId() {
                return StringUtils.isEmpty(structureId) ? "" : structureId;
            }

            public void setStructureId(String structureId) {
                this.structureId = structureId;
            }

            public String getStructureIdDesc() {
                return StringUtils.isEmpty(structureIdDesc) ? "" : structureIdDesc;
            }

            public void setStructureIdDesc(String structureIdDesc) {
                this.structureIdDesc = structureIdDesc;
            }

            public String getSynConf() {
                return StringUtils.isEmpty(synConf) ? "" : synConf;
            }

            public void setSynConf(String synConf) {
                this.synConf = synConf;
            }

            public String getSynConfDesc() {
                return StringUtils.isEmpty(synConfDesc) ? "" : synConfDesc;
            }

            public void setSynConfDesc(String synConfDesc) {
                this.synConfDesc = synConfDesc;
            }

            public String getWorkType() {
                return StringUtils.isEmpty(workType) ? "" : workType;
            }

            public void setWorkType(String workType) {
                this.workType = workType;
            }

            public String getWorkTypeDesc() {
                return StringUtils.isEmpty(workTypeDesc) ? "" : workTypeDesc;
            }

            public void setWorkTypeDesc(String workTypeDesc) {
                this.workTypeDesc = workTypeDesc;
            }
        }

        public static class PointsDTO  {
            private int isSkip;
            private String statusDesc;
            private String orderId;
            private String mustScan;
            private Object assetNo;
            private String type;
            private int isActive;
            private String planPointId;
            private String workorderId;
            private String abnormal;
            private String locationId;
            private String assetId;
            private List<CheckListDTO> checkList;
            private String locationDesc;
            private String location;
            private long finishDate;
            private String finishdate;
            private String id;
            private String assetStatus;
            private String categoryId;
            private int seq;
            private String status;
            private String assetDesc;

            private boolean isScanCode;

            public boolean isScanCode() {
                return isScanCode;
            }

            public void setScanCode(boolean scanCode) {
                isScanCode = scanCode;
            }

            public int getIsSkip() {
                return isSkip;
            }

            public void setIsSkip(int isSkip) {
                this.isSkip = isSkip;
            }

            public String getStatusDesc() {
                return StringUtils.isEmpty(statusDesc) ? "" : statusDesc;
            }

            public void setStatusDesc(String statusDesc) {
                this.statusDesc = statusDesc;
            }

            public String getOrderId() {
                return StringUtils.isEmpty(orderId) ? "" : orderId;
            }

            public void setOrderId(String orderId) {
                this.orderId = orderId;
            }

            public String getMustScan() {
                return StringUtils.isEmpty(mustScan) ? "" : mustScan;
            }

            public void setMustScan(String mustScan) {
                this.mustScan = mustScan;
            }

            public Object getAssetNo() {
                return assetNo;
            }

            public void setAssetNo(Object assetNo) {
                this.assetNo = assetNo;
            }

            public String getType() {
                return StringUtils.isEmpty(type) ? "" : type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getIsActive() {
                return isActive;
            }

            public void setIsActive(int isActive) {
                this.isActive = isActive;
            }

            public String getPlanPointId() {
                return StringUtils.isEmpty(planPointId) ? "" : planPointId;
            }

            public void setPlanPointId(String planPointId) {
                this.planPointId = planPointId;
            }

            public String getWorkorderId() {
                return StringUtils.isEmpty(workorderId) ? "" : workorderId;
            }

            public void setWorkorderId(String workorderId) {
                this.workorderId = workorderId;
            }

            public String getAbnormal() {
                return StringUtils.isEmpty(abnormal) ? "" : abnormal;
            }

            public void setAbnormal(String abnormal) {
                this.abnormal = abnormal;
            }

            public String getLocationId() {
                return StringUtils.isEmpty(locationId) ? "" : locationId;
            }

            public void setLocationId(String locationId) {
                this.locationId = locationId;
            }

            public String getAssetId() {
                return StringUtils.isEmpty(assetId) ? "" : assetId;
            }

            public void setAssetId(String assetId) {
                this.assetId = assetId;
            }

            public List<CheckListDTO> getCheckList() {
                return checkList;
            }

            public void setCheckList(List<CheckListDTO> checkList) {
                this.checkList = checkList;
            }

            public String getLocationDesc() {
                return StringUtils.isEmpty(locationDesc) ? "" : locationDesc;
            }

            public void setLocationDesc(String locationDesc) {
                this.locationDesc = locationDesc;
            }

            public String getLocation() {
                return StringUtils.isEmpty(location) ? "" : location;
            }

            public void setLocation(String location) {
                this.location = location;
            }

            public Long getFinishDate() {
                return finishDate;
            }

            public void setFinishDate(long finishDate) {
                this.finishDate = finishDate;
            }

            public String getFinishdate() {
                return finishdate;
            }

            public void setFinishdate(String finishdate) {
                this.finishdate = finishdate;
            }

            public String getId() {
                return StringUtils.isEmpty(id) ? "" : id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getAssetStatus() {
                return StringUtils.isEmpty(assetStatus) ? "" : assetStatus;
            }

            public void setAssetStatus(String assetStatus) {
                this.assetStatus = assetStatus;
            }

            public String getCategoryId() {
                return StringUtils.isEmpty(categoryId) ? "" : categoryId;
            }

            public void setCategoryId(String categoryId) {
                this.categoryId = categoryId;
            }

            public int getSeq() {
                return seq;
            }

            public void setSeq(int seq) {
                this.seq = seq;
            }

            public String getStatus() {
                return StringUtils.isEmpty(status) ? "" : status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getAssetDesc() {
                return StringUtils.isEmpty(assetDesc) ? "" : assetDesc;
            }

            public void setAssetDesc(String assetDesc) {
                this.assetDesc = assetDesc;
            }

            public static class CheckListDTO   {
//                private boolean isShow;

                private String workOrderId;
                private boolean isBei;
                private boolean isCamera;
                private boolean isCheckError;
                private String standard;
                private Object total_read;
                private String readDate;
                private int year;
                private Object importance;
                private Object diffReading;
                private Object readTime;
                private String remark;
                private String checkResultTypeDesc;
                private String title;
                private Object isActive;
                private String checkResult;
                private int readingAbnormal;
                private int times;
                private BigDecimal alertUpLimit;
                private String checkResultDesc;
                private int checked;
                private String id;
                private int day;
                private String importanceDesc;
                private int seq;
                private int mustTakePic;
                private String period;
                private List<PictureUrlsDTO> pictureUrls;
                private String meterName;
                private BigDecimal alertLowLimit;
                private Object rectification;
                private Object reading;
                private String rectificationDesc;
                private String meterRead;
                private int hasMeter;
                private int hasAttach;
                private String orderPointId;
                private int abnormal;
                private String planChklistId;
                private int month;
                private String checkResultType;
                private int periodInterval;
                private String meterId;
                private Object meterType;
                private Object meterUnit;
                private Object preReadDate;
                private Object preReading;
                private int mustFillRemark;
                private Object ratio;
                private boolean isHasMasterShow = true;
                private List<ImageSelectBean> imageList;

                private List<ImageSelectBean> imageListShow;

                public void setImageListShow(List<ImageSelectBean> imageListShow) {
                    this.imageListShow = imageListShow;
                }

                public boolean isHasMasterShow() {
                    return isHasMasterShow;
                }

                public void setHasMasterShow(boolean hasMasterShow) {
                    isHasMasterShow = hasMasterShow;
                }

                public String getWorkOrderId() {
                    return workOrderId;
                }

                public void setWorkOrderId(String workOrderId) {
                    this.workOrderId = workOrderId;
                }

                public List<ImageSelectBean> getImageList() {
                    if(Utils.isEmpty(imageList)){
                        imageList=new ArrayList<>();
                        imageList.add(new ImageSelectBean("",0));
                    }else{
                        if (imageList.size() > 9){
                            for (int i = imageList.size()-1; i >= 0; i--) {
                                if (imageList.get(i).getType() == 0){
                                    imageList.remove(i);
                                }
                            }
                        }else {
                            boolean isHave=false;
                            for (int i=0;i<imageList.size();i++){
                                if(imageList.get(i).getType()==0){
                                    isHave=true;
                                }
                            }
                            if(!isHave){
                                imageList.add(0,new ImageSelectBean("",0));
                            }
                        }
                    }
                    return imageList;
                }

                public List<ImageSelectBean> getImageListShow() {
                    return imageList;
                }

                public List<ImageSelectBean> getImageListShowNoUpload() {
                    List<ImageSelectBean> list=new ArrayList<>();
                    for (int i=0;i<imageList.size();i++){
                        if(imageList.get(i).getType()!=0){
                            list.add(imageList.get(i));
                        }
                    }

                    return list;
                }


                public void setImageList(List<ImageSelectBean> imageList) {
                    this.imageList = imageList;
                }
//
//                public boolean isShow() {
//                    return isShow;
//                }
//
//                public void setShow(boolean show) {
//                    isShow = show;
//                }

                public boolean isBei() {
                    return isBei;
                }

                public void setBei(boolean bei) {
                    isBei = bei;
                }

                public boolean isCamera() {
                    return isCamera;
                }

                public void setCamera(boolean camera) {
                    isCamera = camera;
                }

                public boolean isCheckError() {
                    return isCheckError;
                }

                public void setCheckError(boolean checkError) {
                    isCheckError = checkError;
                }

                public String getStandard() {
                    return StringUtils.isEmpty(standard) ? "" : standard;
                }

                public void setStandard(String standard) {
                    this.standard = standard;
                }

                public Object getTotal_read() {
                    return total_read;
                }

                public void setTotal_read(Object total_read) {
                    this.total_read = total_read;
                }

                public int getYear() {
                    return year;
                }

                public void setYear(int year) {
                    this.year = year;
                }

                public Object getImportance() {
                    return importance;
                }

                public void setImportance(Object importance) {
                    this.importance = importance;
                }

                public Object getDiffReading() {
                    return diffReading;
                }

                public void setDiffReading(Object diffReading) {
                    this.diffReading = diffReading;
                }

                public Object getReadTime() {
                    return readTime;
                }

                public void setReadTime(Object readTime) {
                    this.readTime = readTime;
                }

                public String getRemark() {
                    return StringUtils.isEmpty(remark) ? "" : remark;
                }

                public void setRemark(String remark) {
                    this.remark = remark;
                }

                public String getCheckResultTypeDesc() {
                    return StringUtils.isEmpty(checkResultTypeDesc) ? "" : checkResultTypeDesc;
                }

                public void setCheckResultTypeDesc(String checkResultTypeDesc) {
                    this.checkResultTypeDesc = checkResultTypeDesc;
                }

                public String getTitle() {
                    return StringUtils.isEmpty(title) ? "" : title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public Object getIsActive() {
                    return isActive;
                }

                public void setIsActive(Object isActive) {
                    this.isActive = isActive;
                }

                public String getCheckResult() {
                    return StringUtils.isEmpty(checkResult) ? "" : checkResult;
                }

                public void setCheckResult(String checkResult) {
                    this.checkResult = checkResult;
                }

                public int getReadingAbnormal() {
                    return readingAbnormal;
                }

                public void setReadingAbnormal(int readingAbnormal) {
                    this.readingAbnormal = readingAbnormal;
                }

                public int getTimes() {
                    return times;
                }

                public void setTimes(int times) {
                    this.times = times;
                }

                public BigDecimal getAlertUpLimit() {
                    return alertUpLimit;
                }

                public void setAlertUpLimit(BigDecimal alertUpLimit) {
                    this.alertUpLimit = alertUpLimit;
                }

                public String getCheckResultDesc() {
                    return StringUtils.isEmpty(checkResultDesc) ? "" : checkResultDesc;
                }

                public void setCheckResultDesc(String checkResultDesc) {
                    this.checkResultDesc = checkResultDesc;
                }

                public int getChecked() {
                    return checked;
                }

                public void setChecked(int checked) {
                    this.checked = checked;
                }

                public String getId() {
                    return StringUtils.isEmpty(id) ? "" : id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public int getDay() {
                    return day;
                }

                public void setDay(int day) {
                    this.day = day;
                }

                public String getImportanceDesc() {
                    return StringUtils.isEmpty(importanceDesc) ? "" : importanceDesc;
                }

                public void setImportanceDesc(String importanceDesc) {
                    this.importanceDesc = importanceDesc;
                }

                public int getSeq() {
                    return seq;
                }

                public void setSeq(int seq) {
                    this.seq = seq;
                }

                public int getMustTakePic() {
                    return mustTakePic;
                }

                public void setMustTakePic(int mustTakePic) {
                    this.mustTakePic = mustTakePic;
                }

                public String getPeriod() {
                    return StringUtils.isEmpty(period) ? "" : period;
                }

                public void setPeriod(String period) {
                    this.period = period;
                }

                public List<PictureUrlsDTO> getPictureUrls() {
                    return pictureUrls;
                }

                public void setPictureUrls(List<PictureUrlsDTO> pictureUrls) {
                    this.pictureUrls = pictureUrls;
                }

                public String getMeterName() {
                    return StringUtils.isEmpty(meterName) ? "" : meterName;
                }

                public void setMeterName(String meterName) {
                    this.meterName = meterName;
                }

                public BigDecimal getAlertLowLimit() {
                    return alertLowLimit;
                }

                public void setAlertLowLimit(BigDecimal alertLowLimit) {
                    this.alertLowLimit = alertLowLimit;
                }

                public Object getRectification() {
                    return rectification;
                }

                public void setRectification(Object rectification) {
                    this.rectification = rectification;
                }

                public String getReadDate() {
                    return StringUtils.isEmpty(readDate) ? "" : readDate;
                }

                public void setReadDate(String readDate) {
                    this.readDate = readDate;
                }

                public Object getReading() {
                    return reading;
                }

                public void setReading(Object reading) {
                    this.reading = reading;
                }

                public String getRectificationDesc() {
                    return StringUtils.isEmpty(rectificationDesc) ? "" : rectificationDesc;
                }

                public void setRectificationDesc(String rectificationDesc) {
                    this.rectificationDesc = rectificationDesc;
                }

                public String getMeterRead() {
                    if (null != meterRead){
                        if (meterRead.contains(".")) {
                            // 去除小数点后面多余的零
                            meterRead = meterRead.replaceAll("\\.?0*$", "");
                        }
                    }

                    return meterRead;
                }

                public void setMeterRead(String meterRead) {
                    this.meterRead = meterRead;
                }

                public int getHasMeter() {
                    return hasMeter;
                }

                public void setHasMeter(int hasMeter) {
                    this.hasMeter = hasMeter;
                }

                public int getHasAttach() {
                    return hasAttach;
                }

                public void setHasAttach(int hasAttach) {
                    this.hasAttach = hasAttach;
                }

                public String getOrderPointId() {
                    return StringUtils.isEmpty(orderPointId) ? "" : orderPointId;
                }

                public void setOrderPointId(String orderPointId) {
                    this.orderPointId = orderPointId;
                }

                public int getAbnormal() {
                    return abnormal;
                }

                public void setAbnormal(int abnormal) {
                    this.abnormal = abnormal;
                }

                public String getPlanChklistId() {
                    return StringUtils.isEmpty(planChklistId) ? "" : planChklistId;
                }

                public void setPlanChklistId(String planChklistId) {
                    this.planChklistId = planChklistId;
                }

                public int getMonth() {
                    return month;
                }

                public void setMonth(int month) {
                    this.month = month;
                }

                public String getCheckResultType() {
                    return StringUtils.isEmpty(checkResultType) ? "" : checkResultType;
                }

                public void setCheckResultType(String checkResultType) {
                    this.checkResultType = checkResultType;
                }

                public int getPeriodInterval() {
                    return periodInterval;
                }

                public void setPeriodInterval(int periodInterval) {
                    this.periodInterval = periodInterval;
                }

                public String getMeterId() {
                    return StringUtils.isEmpty(meterId) ? "" : meterId;
                }

                public void setMeterId(String meterId) {
                    this.meterId = meterId;
                }

                public Object getMeterType() {
                    return meterType;
                }

                public void setMeterType(Object meterType) {
                    this.meterType = meterType;
                }

                public Object getMeterUnit() {
                    return meterUnit;
                }

                public void setMeterUnit(Object meterUnit) {
                    this.meterUnit = meterUnit;
                }

                public Object getPreReadDate() {
                    return preReadDate;
                }

                public void setPreReadDate(Object preReadDate) {
                    this.preReadDate = preReadDate;
                }

                public Object getPreReading() {
                    return preReading;
                }

                public void setPreReading(Object preReading) {
                    this.preReading = preReading;
                }

                public int getMustFillRemark() {
                    return mustFillRemark;
                }

                public void setMustFillRemark(int mustFillRemark) {
                    this.mustFillRemark = mustFillRemark;
                }

                public Object getRatio() {
                    return ratio;
                }

                public void setRatio(Object ratio) {
                    this.ratio = ratio;
                }

                public static class PictureUrlsDTO   {
                    private String thumburl;
                    private String url;
                    private String id;

                    public String getThumburl() {
                        return thumburl;
                    }

                    public void setThumburl(String thumburl) {
                        this.thumburl = thumburl;
                    }

                    public String getUrl() {
                        return url;
                    }

                    public void setUrl(String url) {
                        this.url = url;
                    }

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }
                }
            }
        }
    }
}